package com.xiaoyao.server.dto;

public class RegistExecution {
	private static final long serialVersionUID = -4185151304730685014L;

	private boolean success;

    private String dec;

    public RegistExecution(boolean success, String dec) {
        this.success = success;
        this.dec = dec;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getDec() {
        return dec;
    }

    public void setDec(String dec) {
        this.dec = dec;
    }

	@Override
	public String toString() {
		return "BaseResult [success=" + success + ", dec=" + dec + "]";
	}

}
